package com.hrt.datasender.dataschedule;

import com.btcode.common.MyLog;
import com.btcode.log.ILog;
import com.btcode.schedule.SingleInstanceJob;
import com.hrt.datasender.web.calSetting.CalSettingService;
import org.quartz.JobExecutionContext;

import java.io.File;
import java.util.Date;

public class UpdateCalTimeScheduler extends SingleInstanceJob {

    private ILog log;

    @Override
    public void initJob(JobExecutionContext arg0) {
        log = MyLog.getInstance().getLogger(getClass());
    }

    @Override
    public void myExecute(JobExecutionContext arg0) {
        CalSettingService.getInstance().updateCalTime();
    }

}
